﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;

public partial class webservice_使用webService得到数据 : System.Web.UI.Page
{
    Tong.WebServiceClass.webServicebaseClass TextData = new Tong.WebServiceClass.webServicebaseClass();
    protected void Page_Load(object sender, EventArgs e)
    {
        GridView1.DataSource = TextData.SqlWebDataSet("select top 10 * from [CX_News]");
        GridView1.DataBind();
        
    }
}
